import 'dart:io';

import 'package:flutter_socket_client/permission_utils.dart';

// 解析二维码
class ScanUtil {
  static Future<void> parseScan() async {
    if (Platform.isAndroid) {
      await PermissionUtil.requestCamera();
    }
  }
}
